<template>
  <div id="app">
       
       <myheader></myheader>
       <mycon :reyingList="reyingList"></mycon>
       <myfooter></myfooter>
  </div>
</template>

<script>
   import myheader from "./components/myheader.vue"
   import mycon from "./components/mycon.vue"
   import myfooter from "./components/myfooter.vue"
   import axios from "axios"

export default {
  name: 'App',
  data:function(){
    return{
     reyingList: [], 
    }
  },
  components: {
    myheader, 
    mycon,
    myfooter
  },
     mounted() {
    axios.get("/ajax/movieOnInfoList?token=&optimus_uuid=91EF29D0D7D811EB8CF6A1D4671CD056A65811B291BC465A975913C18F908A7E&optimus_risk_level=71&optimus_code=10").then(res=>{
          console.log(res);
          this.reyingList=res.data.movieList;
          //  this.reyingList.forEach(item => {
          //         item.img = item.img.replace("w.h", "64.90");
          //      })
    })
  },
}
</script>

<style>
   *{
     margin: 0;
     padding: 0;
   } 
</style>
